<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SkyGameEngine2d: SkyEngine2d::Widget类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="shpe.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SkyGameEngine2d
   &#160;<span id="projectnumber">1.0.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>SkyEngine2d</b></li><li class="navelem"><a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-static-attribs">静态 Public 属性</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="#friends">友元</a> &#124;
<a href="class_sky_engine2d_1_1_widget-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">SkyEngine2d::Widget类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>控件基类  
 <a href="class_sky_engine2d_1_1_widget.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_widget_8h_source.html">Widget.h</a>&gt;</code></p>
<div class="dynheader">
类 SkyEngine2d::Widget 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_sky_engine2d_1_1_widget.png" usemap="#SkyEngine2d::Widget_map" alt=""/>
  <map id="SkyEngine2d::Widget_map" name="SkyEngine2d::Widget_map">
<area href="class_sky_engine2d_1_1_i_movable_object.html" title="可执行位移动作的接口" alt="SkyEngine2d::IMovableObject" shape="rect" coords="502,56,693,80"/>
<area href="class_sky_engine2d_1_1_object.html" alt="SkyEngine2d::Object&lt; Widget &gt;" shape="rect" coords="703,56,894,80"/>
<area href="class_sky_engine2d_1_1_i_actable_object.html" title="可执行动作对象的接口" alt="SkyEngine2d::IActableObject" shape="rect" coords="502,0,693,24"/>
<area href="class_sky_engine2d_1_1_abstract_button.html" title="按钮的抽象类" alt="SkyEngine2d::AbstractButton" shape="rect" coords="100,168,291,192"/>
<area href="class_sky_engine2d_1_1_defult_widget.html" title="游戏默认窗口控件" alt="SkyEngine2d::DefultWidget" shape="rect" coords="301,168,492,192"/>
<area href="class_sky_engine2d_1_1_label.html" title="标签控件" alt="SkyEngine2d::Label" shape="rect" coords="502,168,693,192"/>
<area href="class_sky_engine2d_1_1_line_edit.html" title="单文本文本框" alt="SkyEngine2d::LineEdit" shape="rect" coords="703,168,894,192"/>
<area href="class_sky_engine2d_1_1_list_widget.html" alt="SkyEngine2d::ListWidget" shape="rect" coords="904,168,1095,192"/>
<area href="class_sky_engine2d_1_1_progress_bar.html" title="进度条控件" alt="SkyEngine2d::ProgressBar" shape="rect" coords="1105,168,1296,192"/>
<area href="class_sky_engine2d_1_1_check_box.html" title="选择框" alt="SkyEngine2d::CheckBox" shape="rect" coords="0,224,191,248"/>
<area href="class_sky_engine2d_1_1_push_button.html" title="按钮控件" alt="SkyEngine2d::PushButton" shape="rect" coords="201,224,392,248"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
类</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_sky_engine2d_1_1_widget_1_1_style_infor.html">StyleInfor</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a4cd82a245130df2d26cf737e65290656"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a4cd82a245130df2d26cf737e65290656">FocusPolicy</a> { <a class="el" href="class_sky_engine2d_1_1_widget.html#a4cd82a245130df2d26cf737e65290656a3ea871a87eb027a222803fee59e6fe22">FocusPolicy::TabFocus</a> = 0x01, 
<a class="el" href="class_sky_engine2d_1_1_widget.html#a4cd82a245130df2d26cf737e65290656a2f9f3e9d371f1c186deecf6a206fa437">FocusPolicy::ClickFocus</a> = 0x10, 
<a class="el" href="class_sky_engine2d_1_1_widget.html#a4cd82a245130df2d26cf737e65290656aa11f91df0170ecddf92e6413a9eacaad">FocusPolicy::NoFocus</a> = 0x00
 }</td></tr>
<tr class="memdesc:a4cd82a245130df2d26cf737e65290656"><td class="mdescLeft">&#160;</td><td class="mdescRight">控件获取焦点的策略  <a href="class_sky_engine2d_1_1_widget.html#a4cd82a245130df2d26cf737e65290656">更多...</a><br /></td></tr>
<tr class="separator:a4cd82a245130df2d26cf737e65290656"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5713a51505d6edff8d7f0821fb30146"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">WidgetState</a> { <a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146ab9f5c797ebbf55adccdd8539a65a0241">WidgetState::Disabled</a>, 
<a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146aeee0168be69b854c20621fc6f01cc3fc">WidgetState::Hover</a>, 
<a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146ad78a68f6a85421ae121c2cb5b73a1040">WidgetState::Pressed</a>, 
<a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146a960b44c579bc2f6818d2daaf9e4c16f0">WidgetState::Normal</a>
 }</td></tr>
<tr class="memdesc:ae5713a51505d6edff8d7f0821fb30146"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口的状态  <a href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">更多...</a><br /></td></tr>
<tr class="separator:ae5713a51505d6edff8d7f0821fb30146"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a482a21b922c09b05567d7f7a35e7ee"><td class="memItemLeft" align="right" valign="top"><a id="a8a482a21b922c09b05567d7f7a35e7ee"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>MouseEventCallback</b> = std::function&lt; void(<a class="el" href="class_sky_engine2d_1_1_event_mouse.html">EventMouse</a> *)&gt;</td></tr>
<tr class="separator:a8a482a21b922c09b05567d7f7a35e7ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c17fc457ed6a019ad5e295097183c0d"><td class="memItemLeft" align="right" valign="top"><a id="a4c17fc457ed6a019ad5e295097183c0d"></a>
using&#160;</td><td class="memItemRight" valign="bottom"><b>KeyEventCallback</b> = std::function&lt; void(<a class="el" href="class_sky_engine2d_1_1_event_key.html">EventKey</a> *)&gt;</td></tr>
<tr class="separator:a4c17fc457ed6a019ad5e295097183c0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a9555fedd61176088d023c19b7e436bca"><td class="memItemLeft" align="right" valign="top"><a id="a9555fedd61176088d023c19b7e436bca"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a9555fedd61176088d023c19b7e436bca">~Widget</a> ()</td></tr>
<tr class="memdesc:a9555fedd61176088d023c19b7e436bca"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构 <br /></td></tr>
<tr class="separator:a9555fedd61176088d023c19b7e436bca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf88daae177ec518c7bd798245455e62"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#aaf88daae177ec518c7bd798245455e62">setBackgroundImage</a> (std::unique_ptr&lt; <a class="el" href="class_sky_engine2d_1_1_scale9_image.html">Scale9Image</a> &gt; image, <a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">WidgetState</a> state=<a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146a960b44c579bc2f6818d2daaf9e4c16f0">WidgetState::Normal</a>)</td></tr>
<tr class="memdesc:aaf88daae177ec518c7bd798245455e62"><td class="mdescLeft">&#160;</td><td class="mdescRight">将派生类的 shared_ptr 转为 widget 的 shared_ptr  <a href="#aaf88daae177ec518c7bd798245455e62">更多...</a><br /></td></tr>
<tr class="separator:aaf88daae177ec518c7bd798245455e62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39c12d9030f738ff621fe46d71eea44a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a39c12d9030f738ff621fe46d71eea44a">setBackgroundImage</a> (const SpriteFrameSharedPtr &amp;sprite_frame, <a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a> cap=Rect::Zero, <a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">WidgetState</a> state=<a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146a960b44c579bc2f6818d2daaf9e4c16f0">WidgetState::Normal</a>)</td></tr>
<tr class="memdesc:a39c12d9030f738ff621fe46d71eea44a"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置背景图片  <a href="#a39c12d9030f738ff621fe46d71eea44a">更多...</a><br /></td></tr>
<tr class="separator:a39c12d9030f738ff621fe46d71eea44a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a506c1c47211493dca3f35dd0b4b59639"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a506c1c47211493dca3f35dd0b4b59639">setBackgroundImage</a> (const std::wstring &amp;file_name, <a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a> cap=Rect::Zero, <a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">WidgetState</a> state=<a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146a960b44c579bc2f6818d2daaf9e4c16f0">WidgetState::Normal</a>)</td></tr>
<tr class="memdesc:a506c1c47211493dca3f35dd0b4b59639"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置背景图片  <a href="#a506c1c47211493dca3f35dd0b4b59639">更多...</a><br /></td></tr>
<tr class="separator:a506c1c47211493dca3f35dd0b4b59639"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affac80fa3accc83f6abd505982bdeeaa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#affac80fa3accc83f6abd505982bdeeaa">setFont</a> (const <a class="el" href="class_sky_engine2d_1_1_font.html">Font</a> &amp;font, <a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">WidgetState</a> state=<a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146a960b44c579bc2f6818d2daaf9e4c16f0">WidgetState::Normal</a>)</td></tr>
<tr class="memdesc:affac80fa3accc83f6abd505982bdeeaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置字体  <a href="#affac80fa3accc83f6abd505982bdeeaa">更多...</a><br /></td></tr>
<tr class="separator:affac80fa3accc83f6abd505982bdeeaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabe39a7b49314a7a0df06d4b1f299221"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#aabe39a7b49314a7a0df06d4b1f299221">setTextColor</a> (const <a class="el" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> &amp;color, <a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">WidgetState</a> state=<a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146a960b44c579bc2f6818d2daaf9e4c16f0">WidgetState::Normal</a>)</td></tr>
<tr class="memdesc:aabe39a7b49314a7a0df06d4b1f299221"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置文字的颜色  <a href="#aabe39a7b49314a7a0df06d4b1f299221">更多...</a><br /></td></tr>
<tr class="separator:aabe39a7b49314a7a0df06d4b1f299221"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8685eae31ed1f74fa0b746f7c54dea37"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a8685eae31ed1f74fa0b746f7c54dea37">setEnabled</a> (bool enabled)</td></tr>
<tr class="memdesc:a8685eae31ed1f74fa0b746f7c54dea37"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置这个widget是否禁用  <a href="#a8685eae31ed1f74fa0b746f7c54dea37">更多...</a><br /></td></tr>
<tr class="separator:a8685eae31ed1f74fa0b746f7c54dea37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10c0bcb0ccd2597c7a9d828d0f654129"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a10c0bcb0ccd2597c7a9d828d0f654129">isEnabled</a> () const</td></tr>
<tr class="memdesc:a10c0bcb0ccd2597c7a9d828d0f654129"><td class="mdescLeft">&#160;</td><td class="mdescRight">这个widget是否被禁用  <a href="#a10c0bcb0ccd2597c7a9d828d0f654129">更多...</a><br /></td></tr>
<tr class="separator:a10c0bcb0ccd2597c7a9d828d0f654129"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a16814d07a5259d7171862af185df5c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a7a16814d07a5259d7171862af185df5c">getChildAtPos</a> (const <a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a> &amp;pos, const bool allowDisable)</td></tr>
<tr class="memdesc:a7a16814d07a5259d7171862af185df5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取某个位置的子控件的弱引用 ，如果不存在 则返回为null  <a href="#a7a16814d07a5259d7171862af185df5c">更多...</a><br /></td></tr>
<tr class="separator:a7a16814d07a5259d7171862af185df5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a070241f24df35ada7191fa8126f04f43"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a070241f24df35ada7191fa8126f04f43">move</a> (float x, float y)</td></tr>
<tr class="memdesc:a070241f24df35ada7191fa8126f04f43"><td class="mdescLeft">&#160;</td><td class="mdescRight">移动控件到某个位置（相对于父控件）  <a href="#a070241f24df35ada7191fa8126f04f43">更多...</a><br /></td></tr>
<tr class="separator:a070241f24df35ada7191fa8126f04f43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39ef08b2d3e4d7e9342754f5b9811700"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a39ef08b2d3e4d7e9342754f5b9811700">move</a> (const <a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a> &amp;pos)</td></tr>
<tr class="memdesc:a39ef08b2d3e4d7e9342754f5b9811700"><td class="mdescLeft">&#160;</td><td class="mdescRight">移动控件到某个位置（相对于父控件）  <a href="#a39ef08b2d3e4d7e9342754f5b9811700">更多...</a><br /></td></tr>
<tr class="separator:a39ef08b2d3e4d7e9342754f5b9811700"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe572af84f52643a0e3a08c5fd7780a2"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#afe572af84f52643a0e3a08c5fd7780a2">getPosition</a> () const override</td></tr>
<tr class="memdesc:afe572af84f52643a0e3a08c5fd7780a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取控件左下角的位置（相对于父控件）  <a href="#afe572af84f52643a0e3a08c5fd7780a2">更多...</a><br /></td></tr>
<tr class="separator:afe572af84f52643a0e3a08c5fd7780a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac4780243ee4a121f775b33c5d9637467"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#ac4780243ee4a121f775b33c5d9637467">setPosition</a> (const <a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a> &amp;pos) override</td></tr>
<tr class="memdesc:ac4780243ee4a121f775b33c5d9637467"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置widget 的位置 等价于 <a class="el" href="class_sky_engine2d_1_1_widget.html#a39ef08b2d3e4d7e9342754f5b9811700" title="移动控件到某个位置（相对于父控件）">move(const Vector2 &amp; pos)</a>  <a href="#ac4780243ee4a121f775b33c5d9637467">更多...</a><br /></td></tr>
<tr class="separator:ac4780243ee4a121f775b33c5d9637467"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade17e33ce67d612f6be46bca8bb5b7ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#ade17e33ce67d612f6be46bca8bb5b7ce">getAbsPos</a> () const</td></tr>
<tr class="memdesc:ade17e33ce67d612f6be46bca8bb5b7ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取控件左下角的位置 （绝对坐标，即相对与当前的根窗口）  <a href="#ade17e33ce67d612f6be46bca8bb5b7ce">更多...</a><br /></td></tr>
<tr class="separator:ade17e33ce67d612f6be46bca8bb5b7ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3aae04aef5f110a693ff2a727a448e58"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a3aae04aef5f110a693ff2a727a448e58">setGeometry</a> (const <a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a> &amp;rect)</td></tr>
<tr class="memdesc:a3aae04aef5f110a693ff2a727a448e58"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置控件的矩形表示  <a href="#a3aae04aef5f110a693ff2a727a448e58">更多...</a><br /></td></tr>
<tr class="separator:a3aae04aef5f110a693ff2a727a448e58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7158c88817ab1d1e306236e4645a9d1e"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a7158c88817ab1d1e306236e4645a9d1e">getGeometry</a> () const</td></tr>
<tr class="memdesc:a7158c88817ab1d1e306236e4645a9d1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取控件的矩形表示  <a href="#a7158c88817ab1d1e306236e4645a9d1e">更多...</a><br /></td></tr>
<tr class="separator:a7158c88817ab1d1e306236e4645a9d1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40723acf3ffd1eeacd573fb194d4baa6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a40723acf3ffd1eeacd573fb194d4baa6">resize</a> (const <a class="el" href="class_sky_engine2d_1_1_size.html">Size</a> &amp;size)</td></tr>
<tr class="memdesc:a40723acf3ffd1eeacd573fb194d4baa6"><td class="mdescLeft">&#160;</td><td class="mdescRight">调整控件的尺寸  <a href="#a40723acf3ffd1eeacd573fb194d4baa6">更多...</a><br /></td></tr>
<tr class="separator:a40723acf3ffd1eeacd573fb194d4baa6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a171eaed82254340e8be28eb0fae85816"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_sky_engine2d_1_1_size.html">Size</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a171eaed82254340e8be28eb0fae85816">getSize</a> () const</td></tr>
<tr class="memdesc:a171eaed82254340e8be28eb0fae85816"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取控件的尺寸  <a href="#a171eaed82254340e8be28eb0fae85816">更多...</a><br /></td></tr>
<tr class="separator:a171eaed82254340e8be28eb0fae85816"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3597971301fcf78f2e32c43fea33c206"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a3597971301fcf78f2e32c43fea33c206">isActive</a> () const</td></tr>
<tr class="memdesc:a3597971301fcf78f2e32c43fea33c206"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取控件是否在活跃状态  <a href="#a3597971301fcf78f2e32c43fea33c206">更多...</a><br /></td></tr>
<tr class="separator:a3597971301fcf78f2e32c43fea33c206"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a552dea4b7767df860a69ec253e2b67fa"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a552dea4b7767df860a69ec253e2b67fa">hasFocus</a> () const</td></tr>
<tr class="memdesc:a552dea4b7767df860a69ec253e2b67fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取控件是否拥有焦点  <a href="#a552dea4b7767df860a69ec253e2b67fa">更多...</a><br /></td></tr>
<tr class="separator:a552dea4b7767df860a69ec253e2b67fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9e0690a951eb434452a3d36079187c4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#ab9e0690a951eb434452a3d36079187c4">isVisible</a> () const</td></tr>
<tr class="memdesc:ab9e0690a951eb434452a3d36079187c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">控件是否被显示  <a href="#ab9e0690a951eb434452a3d36079187c4">更多...</a><br /></td></tr>
<tr class="separator:ab9e0690a951eb434452a3d36079187c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83b83517e79d413f6f631a40311dcdf0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a83b83517e79d413f6f631a40311dcdf0">hide</a> ()</td></tr>
<tr class="memdesc:a83b83517e79d413f6f631a40311dcdf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">隐藏窗口  <a href="#a83b83517e79d413f6f631a40311dcdf0">更多...</a><br /></td></tr>
<tr class="separator:a83b83517e79d413f6f631a40311dcdf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7148e8c78323d674b9429444d452c1c6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a7148e8c78323d674b9429444d452c1c6">show</a> ()</td></tr>
<tr class="memdesc:a7148e8c78323d674b9429444d452c1c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">显示  <a href="#a7148e8c78323d674b9429444d452c1c6">更多...</a><br /></td></tr>
<tr class="separator:a7148e8c78323d674b9429444d452c1c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a27d37e9e0a9006d5694c10333445ae"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_sky_engine2d_1_1_camera.html">Camera</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a5a27d37e9e0a9006d5694c10333445ae">getCamera</a> () const</td></tr>
<tr class="memdesc:a5a27d37e9e0a9006d5694c10333445ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取控件的相机  <a href="#a5a27d37e9e0a9006d5694c10333445ae">更多...</a><br /></td></tr>
<tr class="separator:a5a27d37e9e0a9006d5694c10333445ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a439a578f14840fa51abc9203ec945b55"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a439a578f14840fa51abc9203ec945b55">setCamera</a> (<a class="el" href="class_sky_engine2d_1_1_camera.html">Camera</a> *camera)</td></tr>
<tr class="memdesc:a439a578f14840fa51abc9203ec945b55"><td class="mdescLeft">&#160;</td><td class="mdescRight">设置控件的相机  <a href="#a439a578f14840fa51abc9203ec945b55">更多...</a><br /></td></tr>
<tr class="separator:a439a578f14840fa51abc9203ec945b55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6635d0869392ef5ef53cf4753c985308"><td class="memItemLeft" align="right" valign="top"><a id="a6635d0869392ef5ef53cf4753c985308"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setFocuse</b> (bool focuse=true)</td></tr>
<tr class="separator:a6635d0869392ef5ef53cf4753c985308"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9199167aac50a8afddfbc72f3dcb5990"><td class="memItemLeft" align="right" valign="top"><a id="a9199167aac50a8afddfbc72f3dcb5990"></a>
<a class="el" href="class_sky_engine2d_1_1_widget.html#a4cd82a245130df2d26cf737e65290656">FocusPolicy</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getFocusPolicy</b> () const</td></tr>
<tr class="separator:a9199167aac50a8afddfbc72f3dcb5990"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58d5cfb3f4bd512189f39c33977485fe"><td class="memItemLeft" align="right" valign="top"><a id="a58d5cfb3f4bd512189f39c33977485fe"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setFocusPolicy</b> (<a class="el" href="class_sky_engine2d_1_1_widget.html#a4cd82a245130df2d26cf737e65290656">FocusPolicy</a> policy)</td></tr>
<tr class="separator:a58d5cfb3f4bd512189f39c33977485fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5313a725c98f2ad1180314e50c7a3858"><td class="memItemLeft" align="right" valign="top"><a id="a5313a725c98f2ad1180314e50c7a3858"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>isDistributeCapturedInputs</b> () const</td></tr>
<tr class="separator:a5313a725c98f2ad1180314e50c7a3858"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49733d9f6cf06f97a9f6fcf2a9d1417b"><td class="memItemLeft" align="right" valign="top"><a id="a49733d9f6cf06f97a9f6fcf2a9d1417b"></a>
<a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getActiveChiled</b> () const</td></tr>
<tr class="separator:a49733d9f6cf06f97a9f6fcf2a9d1417b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ae7c4dca4a2f713627786b937e40197"><td class="memItemLeft" align="right" valign="top"><a id="a3ae7c4dca4a2f713627786b937e40197"></a>
<a class="el" href="class_sky_engine2d_1_1_ui_core.html">UiCore</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getUiCore</b> () const</td></tr>
<tr class="separator:a3ae7c4dca4a2f713627786b937e40197"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c539889eccd4162efa578d766315b6c"><td class="memItemLeft" align="right" valign="top"><a id="a3c539889eccd4162efa578d766315b6c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setMousePressEventListener</b> (const MouseEventCallback &amp;call)</td></tr>
<tr class="separator:a3c539889eccd4162efa578d766315b6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c05f1f4db9a8744eaffcf8e52d51497"><td class="memItemLeft" align="right" valign="top"><a id="a5c05f1f4db9a8744eaffcf8e52d51497"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setMouseReleaseEventListener</b> (const MouseEventCallback &amp;call)</td></tr>
<tr class="separator:a5c05f1f4db9a8744eaffcf8e52d51497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b523813a6e74d5fa1258939f8c26ca9"><td class="memItemLeft" align="right" valign="top"><a id="a4b523813a6e74d5fa1258939f8c26ca9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setMouseMoveEventListener</b> (const MouseEventCallback &amp;call)</td></tr>
<tr class="separator:a4b523813a6e74d5fa1258939f8c26ca9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c20e8c536045e01a3c795ba78baf874"><td class="memItemLeft" align="right" valign="top"><a id="a4c20e8c536045e01a3c795ba78baf874"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setMouseBoubleClickedEventListener</b> (const MouseEventCallback &amp;call)</td></tr>
<tr class="separator:a4c20e8c536045e01a3c795ba78baf874"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15146ade2b842d1156cedc8d1813ca34"><td class="memItemLeft" align="right" valign="top"><a id="a15146ade2b842d1156cedc8d1813ca34"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>visit</b> (<a class="el" href="class_sky_engine2d_1_1_i_render.html">IRender</a> *render, bool parent_change_transfrom_mat)</td></tr>
<tr class="separator:a15146ade2b842d1156cedc8d1813ca34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_sky_engine2d_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_sky_engine2d_1_1_object')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_object.html">SkyEngine2d::Object&lt; Widget &gt;</a></td></tr>
<tr class="memitem:afb57b740591011a3fd8541203c6f5b8b inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="afb57b740591011a3fd8541203c6f5b8b"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addChildren</b> (<a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> *children)</td></tr>
<tr class="separator:afb57b740591011a3fd8541203c6f5b8b inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae260c423e1e455c1e2c74f64c34e4189 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="ae260c423e1e455c1e2c74f64c34e4189"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>addChildren</b> (<a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> *children, const std::wstring &amp;name)</td></tr>
<tr class="separator:ae260c423e1e455c1e2c74f64c34e4189 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1a062b1e83d39cf67c8e9396ee98f65 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="ab1a062b1e83d39cf67c8e9396ee98f65"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>removeChildren</b> (<a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> *children, bool is_clear=true)</td></tr>
<tr class="separator:ab1a062b1e83d39cf67c8e9396ee98f65 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69ecd547dec1e5644a89f0f587236048 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="a69ecd547dec1e5644a89f0f587236048"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setParent</b> (<a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> *parent)</td></tr>
<tr class="separator:a69ecd547dec1e5644a89f0f587236048 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4f3f570ff5c2035b74c8db1a9f95e78 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="ab4f3f570ff5c2035b74c8db1a9f95e78"></a>
<a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>getParent</b> () const</td></tr>
<tr class="separator:ab4f3f570ff5c2035b74c8db1a9f95e78 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb67b092c1cc06a4e25b042cbdb8dab9 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="afb67b092c1cc06a4e25b042cbdb8dab9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setName</b> (const std::wstring &amp;name)</td></tr>
<tr class="separator:afb67b092c1cc06a4e25b042cbdb8dab9 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9673b55426ed3f36ce4cac847ec5f6ec inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="a9673b55426ed3f36ce4cac847ec5f6ec"></a>
const std::wstring &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>getName</b> () const</td></tr>
<tr class="separator:a9673b55426ed3f36ce4cac847ec5f6ec inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a945c4b4333fd1c2d7e1b29bf8ec3a1b2 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="a945c4b4333fd1c2d7e1b29bf8ec3a1b2"></a>
<a class="el" href="class_sky_engine2d_1_1_object_proxy.html">ObjectProxy</a>&lt; <a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><b>getProxy</b> () const</td></tr>
<tr class="separator:a945c4b4333fd1c2d7e1b29bf8ec3a1b2 inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f2d19600d9afe819d3bd838c11d9c2d inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="a2f2d19600d9afe819d3bd838c11d9c2d"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setProxy</b> (<a class="el" href="class_sky_engine2d_1_1_object_proxy.html">ObjectProxy</a>&lt; <a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> &gt; *proxy)</td></tr>
<tr class="separator:a2f2d19600d9afe819d3bd838c11d9c2d inherit pub_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a42621e8181f067d5c02d8111afe30e32"><td class="memItemLeft" align="right" valign="top"><a id="a42621e8181f067d5c02d8111afe30e32"></a>
static <a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>create</b> (<a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> *parent=nullptr)</td></tr>
<tr class="separator:a42621e8181f067d5c02d8111afe30e32"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
静态 Public 属性</h2></td></tr>
<tr class="memitem:ada6531f08957ffe68f52dd9fa5f57c7a"><td class="memItemLeft" align="right" valign="top"><a id="ada6531f08957ffe68f52dd9fa5f57c7a"></a>
static const int&#160;</td><td class="memItemRight" valign="bottom"><b>WidgetStateCount</b> = 4</td></tr>
<tr class="separator:ada6531f08957ffe68f52dd9fa5f57c7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:afe799fab87af9d811cf970a3891c66ff"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#afe799fab87af9d811cf970a3891c66ff">Widget</a> (<a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> *parent=nullptr)</td></tr>
<tr class="memdesc:afe799fab87af9d811cf970a3891c66ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造  <a href="#afe799fab87af9d811cf970a3891c66ff">更多...</a><br /></td></tr>
<tr class="separator:afe799fab87af9d811cf970a3891c66ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68d74acf4b75e6ed4a6e4dabe4c97a8c"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a68d74acf4b75e6ed4a6e4dabe4c97a8c">init</a> ()</td></tr>
<tr class="memdesc:a68d74acf4b75e6ed4a6e4dabe4c97a8c"><td class="mdescLeft">&#160;</td><td class="mdescRight">初始化窗口  <a href="#a68d74acf4b75e6ed4a6e4dabe4c97a8c">更多...</a><br /></td></tr>
<tr class="separator:a68d74acf4b75e6ed4a6e4dabe4c97a8c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0db66d6a109427c854645aad1e9a2c5"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#ac0db66d6a109427c854645aad1e9a2c5">onKeyPressEvent</a> (<a class="el" href="class_sky_engine2d_1_1_event_key.html">EventKey</a> *event)</td></tr>
<tr class="memdesc:ac0db66d6a109427c854645aad1e9a2c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">键盘中的键按下事件  <a href="#ac0db66d6a109427c854645aad1e9a2c5">更多...</a><br /></td></tr>
<tr class="separator:ac0db66d6a109427c854645aad1e9a2c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada47620d479d659b3751b0d185efee82"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#ada47620d479d659b3751b0d185efee82">onKeyReleaseEvent</a> (<a class="el" href="class_sky_engine2d_1_1_event_key.html">EventKey</a> *event)</td></tr>
<tr class="memdesc:ada47620d479d659b3751b0d185efee82"><td class="mdescLeft">&#160;</td><td class="mdescRight">键盘中的键弹起事件  <a href="#ada47620d479d659b3751b0d185efee82">更多...</a><br /></td></tr>
<tr class="separator:ada47620d479d659b3751b0d185efee82"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cd7fbc202d8054d807bc4e735407ef7"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a7cd7fbc202d8054d807bc4e735407ef7">onMousePressEvent</a> (<a class="el" href="class_sky_engine2d_1_1_event_mouse.html">EventMouse</a> *event)</td></tr>
<tr class="memdesc:a7cd7fbc202d8054d807bc4e735407ef7"><td class="mdescLeft">&#160;</td><td class="mdescRight">鼠标键按下事件  <a href="#a7cd7fbc202d8054d807bc4e735407ef7">更多...</a><br /></td></tr>
<tr class="separator:a7cd7fbc202d8054d807bc4e735407ef7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a204e9b0b7014de021838cdc6efdabd1f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a204e9b0b7014de021838cdc6efdabd1f">onMouseReleaseEvent</a> (<a class="el" href="class_sky_engine2d_1_1_event_mouse.html">EventMouse</a> *event)</td></tr>
<tr class="memdesc:a204e9b0b7014de021838cdc6efdabd1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">鼠标键弹起事件  <a href="#a204e9b0b7014de021838cdc6efdabd1f">更多...</a><br /></td></tr>
<tr class="separator:a204e9b0b7014de021838cdc6efdabd1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a034feed891af59d8fcf4f5f163a465e9"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a034feed891af59d8fcf4f5f163a465e9">onMouseMoveEvent</a> (<a class="el" href="class_sky_engine2d_1_1_event_mouse.html">EventMouse</a> *event)</td></tr>
<tr class="memdesc:a034feed891af59d8fcf4f5f163a465e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">鼠标移动事件  <a href="#a034feed891af59d8fcf4f5f163a465e9">更多...</a><br /></td></tr>
<tr class="separator:a034feed891af59d8fcf4f5f163a465e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a621bc22c023eebb993aad1965a9b4036"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a621bc22c023eebb993aad1965a9b4036">onMouseDoubleClickedEvent</a> (<a class="el" href="class_sky_engine2d_1_1_event_mouse.html">EventMouse</a> *event)</td></tr>
<tr class="memdesc:a621bc22c023eebb993aad1965a9b4036"><td class="mdescLeft">&#160;</td><td class="mdescRight">鼠标双击事件  <a href="#a621bc22c023eebb993aad1965a9b4036">更多...</a><br /></td></tr>
<tr class="separator:a621bc22c023eebb993aad1965a9b4036"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae58c4440347d7d4ebdc9bbc9feca59a0"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#ae58c4440347d7d4ebdc9bbc9feca59a0">onMouseLeavesEvent</a> (<a class="el" href="class_sky_engine2d_1_1_widget_event.html">WidgetEvent</a> *event)</td></tr>
<tr class="memdesc:ae58c4440347d7d4ebdc9bbc9feca59a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">鼠标进入窗口  <a href="#ae58c4440347d7d4ebdc9bbc9feca59a0">更多...</a><br /></td></tr>
<tr class="separator:ae58c4440347d7d4ebdc9bbc9feca59a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4cf2cbc0a37b27eebb7f5964882eb46d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a4cf2cbc0a37b27eebb7f5964882eb46d">onMouseEnterEvent</a> (<a class="el" href="class_sky_engine2d_1_1_widget_event.html">WidgetEvent</a> *event)</td></tr>
<tr class="memdesc:a4cf2cbc0a37b27eebb7f5964882eb46d"><td class="mdescLeft">&#160;</td><td class="mdescRight">鼠标离开窗口  <a href="#a4cf2cbc0a37b27eebb7f5964882eb46d">更多...</a><br /></td></tr>
<tr class="separator:a4cf2cbc0a37b27eebb7f5964882eb46d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a419f26484d1d534266add2c11b8c96f2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a419f26484d1d534266add2c11b8c96f2">onFocusInEvent</a> (<a class="el" href="class_sky_engine2d_1_1_event_focus.html">EventFocus</a> *event)</td></tr>
<tr class="memdesc:a419f26484d1d534266add2c11b8c96f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">获得焦点事件  <a href="#a419f26484d1d534266add2c11b8c96f2">更多...</a><br /></td></tr>
<tr class="separator:a419f26484d1d534266add2c11b8c96f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9f12e3419205099993e9882f10b1e77"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#aa9f12e3419205099993e9882f10b1e77">onFocusOutEvent</a> (<a class="el" href="class_sky_engine2d_1_1_event_focus.html">EventFocus</a> *event)</td></tr>
<tr class="memdesc:aa9f12e3419205099993e9882f10b1e77"><td class="mdescLeft">&#160;</td><td class="mdescRight">失去焦点事件  <a href="#aa9f12e3419205099993e9882f10b1e77">更多...</a><br /></td></tr>
<tr class="separator:aa9f12e3419205099993e9882f10b1e77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a558c987e9d3e5315a7d0d4e29244b939"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a558c987e9d3e5315a7d0d4e29244b939">onCharacterEvent</a> (<a class="el" href="class_sky_engine2d_1_1_event_character.html">EventCharacter</a> *e)</td></tr>
<tr class="memdesc:a558c987e9d3e5315a7d0d4e29244b939"><td class="mdescLeft">&#160;</td><td class="mdescRight">字符消息事件  <a href="#a558c987e9d3e5315a7d0d4e29244b939">更多...</a><br /></td></tr>
<tr class="separator:a558c987e9d3e5315a7d0d4e29244b939"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a331663e10d3253a5ecd7431272389dcf"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a331663e10d3253a5ecd7431272389dcf">onMoveEvent</a> (<a class="el" href="class_sky_engine2d_1_1_event_widget_move.html">EventWidgetMove</a> *e)</td></tr>
<tr class="memdesc:a331663e10d3253a5ecd7431272389dcf"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口移动事件  <a href="#a331663e10d3253a5ecd7431272389dcf">更多...</a><br /></td></tr>
<tr class="separator:a331663e10d3253a5ecd7431272389dcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ac8a736f8b0ed4f57b7b98f32f8621f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a5ac8a736f8b0ed4f57b7b98f32f8621f">onActiveEvent</a> (<a class="el" href="class_sky_engine2d_1_1_event_widget_active.html">EventWidgetActive</a> *e)</td></tr>
<tr class="memdesc:a5ac8a736f8b0ed4f57b7b98f32f8621f"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口进入活动状态的事件  <a href="#a5ac8a736f8b0ed4f57b7b98f32f8621f">更多...</a><br /></td></tr>
<tr class="separator:a5ac8a736f8b0ed4f57b7b98f32f8621f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1f3ee7885372b4f8b144aa5b430dfa3"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#ac1f3ee7885372b4f8b144aa5b430dfa3">onDeactiveEvent</a> (<a class="el" href="class_sky_engine2d_1_1_event_widget_active.html">EventWidgetActive</a> *e)</td></tr>
<tr class="memdesc:ac1f3ee7885372b4f8b144aa5b430dfa3"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口失去活动状态的事件  <a href="#ac1f3ee7885372b4f8b144aa5b430dfa3">更多...</a><br /></td></tr>
<tr class="separator:ac1f3ee7885372b4f8b144aa5b430dfa3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a869a370e056058e7c3ee2f40cd4a36d2"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a869a370e056058e7c3ee2f40cd4a36d2">onResizeEvent</a> (<a class="el" href="class_sky_engine2d_1_1_event_resize.html">EventResize</a> *e)</td></tr>
<tr class="memdesc:a869a370e056058e7c3ee2f40cd4a36d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">窗口的尺寸改变的事件  <a href="#a869a370e056058e7c3ee2f40cd4a36d2">更多...</a><br /></td></tr>
<tr class="separator:a869a370e056058e7c3ee2f40cd4a36d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b4f960ef5421826906e725b75ddf7af"><td class="memItemLeft" align="right" valign="top"><a id="a6b4f960ef5421826906e725b75ddf7af"></a>
virtual bool&#160;</td><td class="memItemRight" valign="bottom"><b>onEvent</b> (<a class="el" href="class_sky_engine2d_1_1_i_event.html">IEvent</a> *e)</td></tr>
<tr class="separator:a6b4f960ef5421826906e725b75ddf7af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5a842c8bf55ca7abc041d1afd6ea7b6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#ae5a842c8bf55ca7abc041d1afd6ea7b6">getActiveSibling</a> () const</td></tr>
<tr class="memdesc:ae5a842c8bf55ca7abc041d1afd6ea7b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取活动的兄弟窗口  <a href="#ae5a842c8bf55ca7abc041d1afd6ea7b6">更多...</a><br /></td></tr>
<tr class="separator:ae5a842c8bf55ca7abc041d1afd6ea7b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a195f9d409059ed857eec3ce644c11e94"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="class_sky_engine2d_1_1_matrix4_x4.html">Matrix4X4</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a195f9d409059ed857eec3ce644c11e94">getParentMat</a> ()</td></tr>
<tr class="memdesc:a195f9d409059ed857eec3ce644c11e94"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取父窗口的矩阵  <a href="#a195f9d409059ed857eec3ce644c11e94">更多...</a><br /></td></tr>
<tr class="separator:a195f9d409059ed857eec3ce644c11e94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace8f67625257fc8ca32881716fde7064"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#ace8f67625257fc8ca32881716fde7064">moveToFront</a> ()</td></tr>
<tr class="memdesc:ace8f67625257fc8ca32881716fde7064"><td class="mdescLeft">&#160;</td><td class="mdescRight">移动窗口到前边  <a href="#ace8f67625257fc8ca32881716fde7064">更多...</a><br /></td></tr>
<tr class="separator:ace8f67625257fc8ca32881716fde7064"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ef65815e9d1c5dd28020275442085c3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a3ef65815e9d1c5dd28020275442085c3">captureFocus</a> ()</td></tr>
<tr class="memdesc:a3ef65815e9d1c5dd28020275442085c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">捕获焦点  <a href="#a3ef65815e9d1c5dd28020275442085c3">更多...</a><br /></td></tr>
<tr class="separator:a3ef65815e9d1c5dd28020275442085c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a953399d5b2113241fa0faaa840797149"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a953399d5b2113241fa0faaa840797149">releaseFocus</a> ()</td></tr>
<tr class="memdesc:a953399d5b2113241fa0faaa840797149"><td class="mdescLeft">&#160;</td><td class="mdescRight">释放焦点  <a href="#a953399d5b2113241fa0faaa840797149">更多...</a><br /></td></tr>
<tr class="separator:a953399d5b2113241fa0faaa840797149"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a261cac457028f7d57794ac227bf8dda9"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="struct_sky_engine2d_1_1_widget_1_1_style_infor.html">StyleInfor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#a261cac457028f7d57794ac227bf8dda9">getStyleInfor</a> () const</td></tr>
<tr class="memdesc:a261cac457028f7d57794ac227bf8dda9"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取当前窗口状态的风格  <a href="#a261cac457028f7d57794ac227bf8dda9">更多...</a><br /></td></tr>
<tr class="separator:a261cac457028f7d57794ac227bf8dda9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa7060be47c109ed8f43b89e0ee30866b"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="struct_sky_engine2d_1_1_widget_1_1_style_infor.html">StyleInfor</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#aa7060be47c109ed8f43b89e0ee30866b">getStyleInforByState</a> (<a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">WidgetState</a> state) const</td></tr>
<tr class="memdesc:aa7060be47c109ed8f43b89e0ee30866b"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取指定窗口状态的风格  <a href="#aa7060be47c109ed8f43b89e0ee30866b">更多...</a><br /></td></tr>
<tr class="separator:aa7060be47c109ed8f43b89e0ee30866b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9851eee29d1952c685af8817a1c13ff2"><td class="memItemLeft" align="right" valign="top"><a id="a9851eee29d1952c685af8817a1c13ff2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setCurrentWidgetState</b> (<a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">WidgetState</a> state)</td></tr>
<tr class="separator:a9851eee29d1952c685af8817a1c13ff2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4d880528ffce39927896c443e0932e8"><td class="memItemLeft" align="right" valign="top"><a id="aa4d880528ffce39927896c443e0932e8"></a>
<a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">WidgetState</a>&#160;</td><td class="memItemRight" valign="bottom"><b>getCurrentWidgetState</b> () const</td></tr>
<tr class="separator:aa4d880528ffce39927896c443e0932e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_sky_engine2d_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_sky_engine2d_1_1_object')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_sky_engine2d_1_1_object.html">SkyEngine2d::Object&lt; Widget &gt;</a></td></tr>
<tr class="memitem:aa802f99c0e51be2a614c9c0cdef39ec5 inherit pro_methods_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="aa802f99c0e51be2a614c9c0cdef39ec5"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>Object</b> (<a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> *parent=nullptr)</td></tr>
<tr class="separator:aa802f99c0e51be2a614c9c0cdef39ec5 inherit pro_methods_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:ad413ce1f509a53f03ab4d0a808f3ff93"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_sky_engine2d_1_1_widget.html#ad413ce1f509a53f03ab4d0a808f3ff93">m_geometry</a></td></tr>
<tr class="separator:ad413ce1f509a53f03ab4d0a808f3ff93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_sky_engine2d_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_sky_engine2d_1_1_object')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_sky_engine2d_1_1_object.html">SkyEngine2d::Object&lt; Widget &gt;</a></td></tr>
<tr class="memitem:afac6cc747588028573eb1bd90fa75476 inherit pro_attribs_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="afac6cc747588028573eb1bd90fa75476"></a>
<a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>m_parent</b></td></tr>
<tr class="separator:afac6cc747588028573eb1bd90fa75476 inherit pro_attribs_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae532cc55e1cb38e551473fb6b57be0ac inherit pro_attribs_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="ae532cc55e1cb38e551473fb6b57be0ac"></a>
std::list&lt; <a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_childrenList</b></td></tr>
<tr class="separator:ae532cc55e1cb38e551473fb6b57be0ac inherit pro_attribs_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af79b981bafc9f47e471173098b2204ae inherit pro_attribs_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="af79b981bafc9f47e471173098b2204ae"></a>
std::wstring&#160;</td><td class="memItemRight" valign="bottom"><b>m_name</b></td></tr>
<tr class="separator:af79b981bafc9f47e471173098b2204ae inherit pro_attribs_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b003d938b95282d717780b7a4d64ed4 inherit pro_attribs_class_sky_engine2d_1_1_object"><td class="memItemLeft" align="right" valign="top"><a id="a4b003d938b95282d717780b7a4d64ed4"></a>
<a class="el" href="class_sky_engine2d_1_1_object_proxy.html">ObjectProxy</a>&lt; <a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> &gt; *&#160;</td><td class="memItemRight" valign="bottom"><b>m_proxy</b></td></tr>
<tr class="separator:a4b003d938b95282d717780b7a4d64ed4 inherit pro_attribs_class_sky_engine2d_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
友元</h2></td></tr>
<tr class="memitem:af8bb3bf23477bf487843c693554be9d3"><td class="memItemLeft" align="right" valign="top"><a id="af8bb3bf23477bf487843c693554be9d3"></a>
class&#160;</td><td class="memItemRight" valign="bottom"><b>UiCore</b></td></tr>
<tr class="separator:af8bb3bf23477bf487843c693554be9d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>控件基类 </p>
</div><h2 class="groupheader">成员枚举类型说明</h2>
<a id="a4cd82a245130df2d26cf737e65290656"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4cd82a245130df2d26cf737e65290656">&#9670;&nbsp;</a></span>FocusPolicy</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_sky_engine2d_1_1_widget.html#a4cd82a245130df2d26cf737e65290656">SkyEngine2d::Widget::FocusPolicy</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>控件获取焦点的策略 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="a4cd82a245130df2d26cf737e65290656a3ea871a87eb027a222803fee59e6fe22"></a>TabFocus&#160;</td><td class="fielddoc"><p>按Tab键切换. </p>
</td></tr>
<tr><td class="fieldname"><a id="a4cd82a245130df2d26cf737e65290656a2f9f3e9d371f1c186deecf6a206fa437"></a>ClickFocus&#160;</td><td class="fielddoc"><p>通过鼠标点击. </p>
</td></tr>
<tr><td class="fieldname"><a id="a4cd82a245130df2d26cf737e65290656aa11f91df0170ecddf92e6413a9eacaad"></a>NoFocus&#160;</td><td class="fielddoc"><p>不获取焦点. </p>
</td></tr>
</table>

</div>
</div>
<a id="ae5713a51505d6edff8d7f0821fb30146"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5713a51505d6edff8d7f0821fb30146">&#9670;&nbsp;</a></span>WidgetState</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">SkyEngine2d::Widget::WidgetState</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">strong</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>窗口的状态 </p>
<table class="fieldtable">
<tr><th colspan="2">枚举值</th></tr><tr><td class="fieldname"><a id="ae5713a51505d6edff8d7f0821fb30146ab9f5c797ebbf55adccdd8539a65a0241"></a>Disabled&#160;</td><td class="fielddoc"><p>禁用. </p>
</td></tr>
<tr><td class="fieldname"><a id="ae5713a51505d6edff8d7f0821fb30146aeee0168be69b854c20621fc6f01cc3fc"></a>Hover&#160;</td><td class="fielddoc"><p>鼠标悬停. </p>
</td></tr>
<tr><td class="fieldname"><a id="ae5713a51505d6edff8d7f0821fb30146ad78a68f6a85421ae121c2cb5b73a1040"></a>Pressed&#160;</td><td class="fielddoc"><p>鼠标按下. </p>
</td></tr>
<tr><td class="fieldname"><a id="ae5713a51505d6edff8d7f0821fb30146a960b44c579bc2f6818d2daaf9e4c16f0"></a>Normal&#160;</td><td class="fielddoc"><p>正常状态. </p>
</td></tr>
</table>

</div>
</div>
<h2 class="groupheader">构造及析构函数说明</h2>
<a id="afe799fab87af9d811cf970a3891c66ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe799fab87af9d811cf970a3891c66ff">&#9670;&nbsp;</a></span>Widget()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">SkyEngine2d::Widget::Widget </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>构造 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_widget.html" title="控件基类">Widget</a></td><td>* parent 父窗口 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a3ef65815e9d1c5dd28020275442085c3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ef65815e9d1c5dd28020275442085c3">&#9670;&nbsp;</a></span>captureFocus()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Widget::captureFocus </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>捕获焦点 </p>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="ade17e33ce67d612f6be46bca8bb5b7ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ade17e33ce67d612f6be46bca8bb5b7ce">&#9670;&nbsp;</a></span>getAbsPos()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a> SkyEngine2d::Widget::getAbsPos </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取控件左下角的位置 （绝对坐标，即相对与当前的根窗口） </p>
<dl class="section return"><dt>返回</dt><dd>const <a class="el" href="class_sky_engine2d_1_1_vector2.html" title="2D向量">Vector2</a> &amp; </dd></dl>
<dl class="section see"><dt>参见</dt><dd>const <a class="el" href="class_sky_engine2d_1_1_vector2.html" title="2D向量">Vector2</a> &amp; getPos()const; </dd></dl>

</div>
</div>
<a id="ae5a842c8bf55ca7abc041d1afd6ea7b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae5a842c8bf55ca7abc041d1afd6ea7b6">&#9670;&nbsp;</a></span>getActiveSibling()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a>* SkyEngine2d::Widget::getActiveSibling </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取活动的兄弟窗口 </p>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_sky_engine2d_1_1_widget.html" title="控件基类">Widget</a> * </dd></dl>

</div>
</div>
<a id="a5a27d37e9e0a9006d5694c10333445ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5a27d37e9e0a9006d5694c10333445ae">&#9670;&nbsp;</a></span>getCamera()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_sky_engine2d_1_1_camera.html">Camera</a>* SkyEngine2d::Widget::getCamera </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取控件的相机 </p>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_sky_engine2d_1_1_camera.html" title="相机">Camera</a> * </dd></dl>
<dl class="section see"><dt>参见</dt><dd>void <a class="el" href="class_sky_engine2d_1_1_widget.html#a439a578f14840fa51abc9203ec945b55" title="设置控件的相机">setCamera(Camera * camera)</a> </dd></dl>

</div>
</div>
<a id="a7a16814d07a5259d7171862af185df5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a16814d07a5259d7171862af185df5c">&#9670;&nbsp;</a></span>getChildAtPos()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_sky_engine2d_1_1_widget.html">Widget</a>* SkyEngine2d::Widget::getChildAtPos </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a> &amp;&#160;</td>
          <td class="paramname"><em>pos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>allowDisable</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取某个位置的子控件的弱引用 ，如果不存在 则返回为null </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_vector2.html" title="2D向量">Vector2</a> &amp; pos 需要获取的位置 </td></tr>
    <tr><td class="paramname">const</td><td>bool allowDisable 是否获取被禁用的子控件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>WidgetSharedPtr </dd></dl>

</div>
</div>
<a id="a7158c88817ab1d1e306236e4645a9d1e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7158c88817ab1d1e306236e4645a9d1e">&#9670;&nbsp;</a></span>getGeometry()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a>&amp; SkyEngine2d::Widget::getGeometry </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取控件的矩形表示 </p>
<dl class="section return"><dt>返回</dt><dd>const <a class="el" href="class_sky_engine2d_1_1_rect.html" title="矩形">Rect</a> &amp; 每个控件都是一个矩形，这个矩形区域用来作为展示控件背景、鼠标进出检测等的依据。 这个矩形是由左下角坐标和矩形的宽高两组信息组成的。坐标是相对于父控件的。 </dd></dl>
<dl class="section see"><dt>参见</dt><dd>void <a class="el" href="class_sky_engine2d_1_1_widget.html#a3aae04aef5f110a693ff2a727a448e58" title="设置控件的矩形表示">setGeometry(const Rect &amp; rect)</a> </dd></dl>

</div>
</div>
<a id="a195f9d409059ed857eec3ce644c11e94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a195f9d409059ed857eec3ce644c11e94">&#9670;&nbsp;</a></span>getParentMat()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_sky_engine2d_1_1_matrix4_x4.html">Matrix4X4</a>&amp; SkyEngine2d::Widget::getParentMat </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取父窗口的矩阵 </p>
<dl class="section return"><dt>返回</dt><dd>const <a class="el" href="class_sky_engine2d_1_1_matrix4_x4.html">Matrix4X4</a>&amp; </dd></dl>

</div>
</div>
<a id="afe572af84f52643a0e3a08c5fd7780a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afe572af84f52643a0e3a08c5fd7780a2">&#9670;&nbsp;</a></span>getPosition()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a> SkyEngine2d::Widget::getPosition </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取控件左下角的位置（相对于父控件） </p>
<dl class="section return"><dt>返回</dt><dd><a class="el" href="class_sky_engine2d_1_1_vector2.html" title="2D向量">Vector2</a> </dd></dl>
<dl class="section see"><dt>参见</dt><dd>void <a class="el" href="class_sky_engine2d_1_1_widget.html#a070241f24df35ada7191fa8126f04f43" title="移动控件到某个位置（相对于父控件）">move(float x, float y)</a> </dd></dl>

<p>实现了 <a class="el" href="class_sky_engine2d_1_1_i_movable_object.html#adedab5588b12831f07d6c5b1cb46c0a6">SkyEngine2d::IMovableObject</a>.</p>

</div>
</div>
<a id="a171eaed82254340e8be28eb0fae85816"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a171eaed82254340e8be28eb0fae85816">&#9670;&nbsp;</a></span>getSize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="class_sky_engine2d_1_1_size.html">Size</a>&amp; SkyEngine2d::Widget::getSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取控件的尺寸 </p>
<dl class="section return"><dt>返回</dt><dd>const D2D1::Size &amp; </dd></dl>

</div>
</div>
<a id="a261cac457028f7d57794ac227bf8dda9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a261cac457028f7d57794ac227bf8dda9">&#9670;&nbsp;</a></span>getStyleInfor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="struct_sky_engine2d_1_1_widget_1_1_style_infor.html">StyleInfor</a>* SkyEngine2d::Widget::getStyleInfor </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取当前窗口状态的风格 </p>
<dl class="section return"><dt>返回</dt><dd>const <a class="el" href="struct_sky_engine2d_1_1_widget_1_1_style_infor.html">Widget::StyleInfor</a> * </dd></dl>

</div>
</div>
<a id="aa7060be47c109ed8f43b89e0ee30866b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa7060be47c109ed8f43b89e0ee30866b">&#9670;&nbsp;</a></span>getStyleInforByState()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="struct_sky_engine2d_1_1_widget_1_1_style_infor.html">StyleInfor</a>* SkyEngine2d::Widget::getStyleInforByState </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">WidgetState</a>&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取指定窗口状态的风格 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">WidgetState</td><td>state 窗口状态 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>const <a class="el" href="struct_sky_engine2d_1_1_widget_1_1_style_infor.html">Widget::StyleInfor</a>* 风格 </dd></dl>

</div>
</div>
<a id="a552dea4b7767df860a69ec253e2b67fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a552dea4b7767df860a69ec253e2b67fa">&#9670;&nbsp;</a></span>hasFocus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SkyEngine2d::Widget::hasFocus </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取控件是否拥有焦点 </p>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="a83b83517e79d413f6f631a40311dcdf0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a83b83517e79d413f6f631a40311dcdf0">&#9670;&nbsp;</a></span>hide()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Widget::hide </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>隐藏窗口 </p>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a68d74acf4b75e6ed4a6e4dabe4c97a8c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68d74acf4b75e6ed4a6e4dabe4c97a8c">&#9670;&nbsp;</a></span>init()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool SkyEngine2d::Widget::init </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>初始化窗口 </p>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>
<dl class="section note"><dt>注解</dt><dd>子类在初始化阶段 务必先调用 父类的初始化 </dd></dl>

<p>重载 <a class="el" href="class_sky_engine2d_1_1_object.html">SkyEngine2d::Object&lt; Widget &gt;</a> .</p>

<p>被 <a class="el" href="class_sky_engine2d_1_1_progress_bar.html#a78f9b8aa95b8832ba96bdbc12462388d">SkyEngine2d::ProgressBar</a>, <a class="el" href="class_sky_engine2d_1_1_check_box.html#a2b0cba6933bfda0b3c54fa3e4936e118">SkyEngine2d::CheckBox</a> , 以及 <a class="el" href="class_sky_engine2d_1_1_push_button.html#ad7f3019848618f70ae8957983635343c">SkyEngine2d::PushButton</a> 重载.</p>

</div>
</div>
<a id="a3597971301fcf78f2e32c43fea33c206"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3597971301fcf78f2e32c43fea33c206">&#9670;&nbsp;</a></span>isActive()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SkyEngine2d::Widget::isActive </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取控件是否在活跃状态 </p>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="a10c0bcb0ccd2597c7a9d828d0f654129"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a10c0bcb0ccd2597c7a9d828d0f654129">&#9670;&nbsp;</a></span>isEnabled()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SkyEngine2d::Widget::isEnabled </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>这个widget是否被禁用 </p>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>
<dl class="section see"><dt>参见</dt><dd><a class="el" href="class_sky_engine2d_1_1_widget.html#a8685eae31ed1f74fa0b746f7c54dea37" title="设置这个widget是否禁用">setEnabled(bool enabled)</a> </dd></dl>

</div>
</div>
<a id="ab9e0690a951eb434452a3d36079187c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9e0690a951eb434452a3d36079187c4">&#9670;&nbsp;</a></span>isVisible()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SkyEngine2d::Widget::isVisible </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>控件是否被显示 </p>
<dl class="section return"><dt>返回</dt><dd>bool </dd></dl>

</div>
</div>
<a id="a070241f24df35ada7191fa8126f04f43"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a070241f24df35ada7191fa8126f04f43">&#9670;&nbsp;</a></span>move() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Widget::move </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>移动控件到某个位置（相对于父控件） </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">float</td><td>x 横坐标 </td></tr>
    <tr><td class="paramname">float</td><td>y 纵坐标 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void 单位为(px)像素，目标位置以这个控件的左下角为锚点进行计算 /sa const <a class="el" href="class_sky_engine2d_1_1_vector2.html" title="2D向量">Vector2</a> &amp; getPos()const </dd></dl>

</div>
</div>
<a id="a39ef08b2d3e4d7e9342754f5b9811700"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39ef08b2d3e4d7e9342754f5b9811700">&#9670;&nbsp;</a></span>move() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Widget::move </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a> &amp;&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>移动控件到某个位置（相对于父控件） </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_vector2.html" title="2D向量">Vector2</a> &amp; pos 位置 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void 单位为(px)像素，目标位置以这个控件的左下角为锚点进行计算 /sa const <a class="el" href="class_sky_engine2d_1_1_vector2.html" title="2D向量">Vector2</a> &amp; getPos()const </dd></dl>

</div>
</div>
<a id="ace8f67625257fc8ca32881716fde7064"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ace8f67625257fc8ca32881716fde7064">&#9670;&nbsp;</a></span>moveToFront()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Widget::moveToFront </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>移动窗口到前边 </p>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a5ac8a736f8b0ed4f57b7b98f32f8621f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5ac8a736f8b0ed4f57b7b98f32f8621f">&#9670;&nbsp;</a></span>onActiveEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Widget::onActiveEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_event_widget_active.html">EventWidgetActive</a> *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>窗口进入活动状态的事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_event_widget_active.html" title="窗口活动事件">EventWidgetActive</a></td><td>* e 事件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>被 <a class="el" href="class_sky_engine2d_1_1_list_widget.html#a1a3930116331e947fb3074a50fde850a">SkyEngine2d::ListWidget</a> 重载.</p>

</div>
</div>
<a id="a558c987e9d3e5315a7d0d4e29244b939"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a558c987e9d3e5315a7d0d4e29244b939">&#9670;&nbsp;</a></span>onCharacterEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Widget::onCharacterEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_event_character.html">EventCharacter</a> *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>字符消息事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_event_character.html" title="字符输入事件">EventCharacter</a></td><td>* e 字符事件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void 当键盘输入的按键可打印或者输入法有输入时，将会触发这个事件 </dd></dl>

<p>被 <a class="el" href="class_sky_engine2d_1_1_list_widget.html#a37beebc4e06463b3321f83ed5a1ecb9c">SkyEngine2d::ListWidget</a> , 以及 <a class="el" href="class_sky_engine2d_1_1_line_edit.html#a9baa7aaa9960fa16058350d5002bc7eb">SkyEngine2d::LineEdit</a> 重载.</p>

</div>
</div>
<a id="ac1f3ee7885372b4f8b144aa5b430dfa3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac1f3ee7885372b4f8b144aa5b430dfa3">&#9670;&nbsp;</a></span>onDeactiveEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Widget::onDeactiveEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_event_widget_active.html">EventWidgetActive</a> *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>窗口失去活动状态的事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_event_widget_active.html" title="窗口活动事件">EventWidgetActive</a></td><td>* e 事件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>被 <a class="el" href="class_sky_engine2d_1_1_list_widget.html#a5b6a04b16a0b30d538f7027e497a1450">SkyEngine2d::ListWidget</a> 重载.</p>

</div>
</div>
<a id="a419f26484d1d534266add2c11b8c96f2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a419f26484d1d534266add2c11b8c96f2">&#9670;&nbsp;</a></span>onFocusInEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Widget::onFocusInEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_event_focus.html">EventFocus</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获得焦点事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_event_focus.html" title="焦点事件">EventFocus</a></td><td>* event 焦点事件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>被 <a class="el" href="class_sky_engine2d_1_1_list_widget.html#a29cfe7e864ef0076056d92baf94c2417">SkyEngine2d::ListWidget</a> 重载.</p>

</div>
</div>
<a id="aa9f12e3419205099993e9882f10b1e77"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9f12e3419205099993e9882f10b1e77">&#9670;&nbsp;</a></span>onFocusOutEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Widget::onFocusOutEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_event_focus.html">EventFocus</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>失去焦点事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_event_focus.html" title="焦点事件">EventFocus</a></td><td>* event 焦点事件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>被 <a class="el" href="class_sky_engine2d_1_1_list_widget.html#ad31a99ad30f2198387ce7ca99018759e">SkyEngine2d::ListWidget</a> 重载.</p>

</div>
</div>
<a id="ac0db66d6a109427c854645aad1e9a2c5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac0db66d6a109427c854645aad1e9a2c5">&#9670;&nbsp;</a></span>onKeyPressEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Widget::onKeyPressEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_event_key.html">EventKey</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>键盘中的键按下事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_event_key.html" title="键盘事件">EventKey</a></td><td>* event 按键事件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>被 <a class="el" href="class_sky_engine2d_1_1_line_edit.html#ae998bef7bb93e5496a66aed74de23fd7">SkyEngine2d::LineEdit</a> 重载.</p>

</div>
</div>
<a id="ada47620d479d659b3751b0d185efee82"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada47620d479d659b3751b0d185efee82">&#9670;&nbsp;</a></span>onKeyReleaseEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Widget::onKeyReleaseEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_event_key.html">EventKey</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>键盘中的键弹起事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_event_key.html" title="键盘事件">EventKey</a></td><td>* event 键盘事件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>被 <a class="el" href="class_sky_engine2d_1_1_line_edit.html#a057b917c839c94a726bd0f8facdb938d">SkyEngine2d::LineEdit</a> 重载.</p>

</div>
</div>
<a id="a621bc22c023eebb993aad1965a9b4036"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a621bc22c023eebb993aad1965a9b4036">&#9670;&nbsp;</a></span>onMouseDoubleClickedEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Widget::onMouseDoubleClickedEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_event_mouse.html">EventMouse</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>鼠标双击事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_event_mouse.html" title="鼠标事件">EventMouse</a></td><td>* event 鼠标事件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>被 <a class="el" href="class_sky_engine2d_1_1_list_widget.html#aa849b484c1c8dada59a4392259734f4f">SkyEngine2d::ListWidget</a> 重载.</p>

</div>
</div>
<a id="a4cf2cbc0a37b27eebb7f5964882eb46d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4cf2cbc0a37b27eebb7f5964882eb46d">&#9670;&nbsp;</a></span>onMouseEnterEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Widget::onMouseEnterEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_widget_event.html">WidgetEvent</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>鼠标离开窗口 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_event_mouse.html" title="鼠标事件">EventMouse</a></td><td>* event 鼠标事件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>被 <a class="el" href="class_sky_engine2d_1_1_list_widget.html#a7253e21f54e7f3a7c5a549358c8a716b">SkyEngine2d::ListWidget</a> 重载.</p>

</div>
</div>
<a id="ae58c4440347d7d4ebdc9bbc9feca59a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae58c4440347d7d4ebdc9bbc9feca59a0">&#9670;&nbsp;</a></span>onMouseLeavesEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Widget::onMouseLeavesEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_widget_event.html">WidgetEvent</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>鼠标进入窗口 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_event_mouse.html" title="鼠标事件">EventMouse</a></td><td>* event 鼠标事件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>被 <a class="el" href="class_sky_engine2d_1_1_list_widget.html#ad0fb38c708a46b6ea48416511064e5a2">SkyEngine2d::ListWidget</a> 重载.</p>

</div>
</div>
<a id="a034feed891af59d8fcf4f5f163a465e9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a034feed891af59d8fcf4f5f163a465e9">&#9670;&nbsp;</a></span>onMouseMoveEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Widget::onMouseMoveEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_event_mouse.html">EventMouse</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>鼠标移动事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_event_mouse.html" title="鼠标事件">EventMouse</a></td><td>* event 鼠标事件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>被 <a class="el" href="class_sky_engine2d_1_1_list_widget.html#a312e82493d5c30200345840e759d5f71">SkyEngine2d::ListWidget</a> , 以及 <a class="el" href="class_sky_engine2d_1_1_line_edit.html#aeec8e0c40e3682ce6d2d8125ee96c35d">SkyEngine2d::LineEdit</a> 重载.</p>

</div>
</div>
<a id="a7cd7fbc202d8054d807bc4e735407ef7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cd7fbc202d8054d807bc4e735407ef7">&#9670;&nbsp;</a></span>onMousePressEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Widget::onMousePressEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_event_mouse.html">EventMouse</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>鼠标键按下事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_event_mouse.html" title="鼠标事件">EventMouse</a></td><td>* event 键盘事件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>被 <a class="el" href="class_sky_engine2d_1_1_line_edit.html#ad33c80f53246a1c1cc51093c4b713218">SkyEngine2d::LineEdit</a>, <a class="el" href="class_sky_engine2d_1_1_abstract_button.html#a4f380eaebb16d83fde36cc64db44f4e0">SkyEngine2d::AbstractButton</a> , 以及 <a class="el" href="class_sky_engine2d_1_1_defult_widget.html#a6003ae815e3b3d5b969b8f89d78fda63">SkyEngine2d::DefultWidget</a> 重载.</p>

</div>
</div>
<a id="a204e9b0b7014de021838cdc6efdabd1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a204e9b0b7014de021838cdc6efdabd1f">&#9670;&nbsp;</a></span>onMouseReleaseEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Widget::onMouseReleaseEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_event_mouse.html">EventMouse</a> *&#160;</td>
          <td class="paramname"><em>event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>鼠标键弹起事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_event_mouse.html" title="鼠标事件">EventMouse</a></td><td>* event 鼠标事件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>被 <a class="el" href="class_sky_engine2d_1_1_list_widget.html#a857fbc2d4a87fdc55922c9d85d3014ab">SkyEngine2d::ListWidget</a>, <a class="el" href="class_sky_engine2d_1_1_line_edit.html#a3cb9ba17d2079f60778be9937d7d58d2">SkyEngine2d::LineEdit</a>, <a class="el" href="class_sky_engine2d_1_1_abstract_button.html#ace8f1b9107c66904a211cafc02b89c67">SkyEngine2d::AbstractButton</a>, <a class="el" href="class_sky_engine2d_1_1_check_box.html#aecde2626076a7991b7460f8aec0b3da8">SkyEngine2d::CheckBox</a>, <a class="el" href="class_sky_engine2d_1_1_push_button.html#a428b7679184eff4a280cde4083090df0">SkyEngine2d::PushButton</a> , 以及 <a class="el" href="class_sky_engine2d_1_1_defult_widget.html#a9e7737c881cd9863c3cbf91266f1177d">SkyEngine2d::DefultWidget</a> 重载.</p>

</div>
</div>
<a id="a331663e10d3253a5ecd7431272389dcf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a331663e10d3253a5ecd7431272389dcf">&#9670;&nbsp;</a></span>onMoveEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Widget::onMoveEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_event_widget_move.html">EventWidgetMove</a> *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>窗口移动事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_event_widget_move.html" title="窗口移动事件">EventWidgetMove</a></td><td>* e 窗口移动事件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>被 <a class="el" href="class_sky_engine2d_1_1_list_widget.html#a7a47156cbdf568cc4153fb7e4dff0fdc">SkyEngine2d::ListWidget</a>, <a class="el" href="class_sky_engine2d_1_1_line_edit.html#a7fed17d7a4b763cac52fa32adb28bd99">SkyEngine2d::LineEdit</a>, <a class="el" href="class_sky_engine2d_1_1_progress_bar.html#aaf7a52d0ce8b5e850c4c9b5fb5431f7a">SkyEngine2d::ProgressBar</a>, <a class="el" href="class_sky_engine2d_1_1_push_button.html#ab03ac04762a2bd51ce36ffa2123ff7e4">SkyEngine2d::PushButton</a>, <a class="el" href="class_sky_engine2d_1_1_label.html#a87a393b2f54f2556d6c5e8434117e6eb">SkyEngine2d::Label</a> , 以及 <a class="el" href="class_sky_engine2d_1_1_check_box.html#a8c1a7b579f6bedbe8ed56af6b2144f50">SkyEngine2d::CheckBox</a> 重载.</p>

</div>
</div>
<a id="a869a370e056058e7c3ee2f40cd4a36d2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a869a370e056058e7c3ee2f40cd4a36d2">&#9670;&nbsp;</a></span>onResizeEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Widget::onResizeEvent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_event_resize.html">EventResize</a> *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>窗口的尺寸改变的事件 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_event_resize.html" title="控件尺寸变化事件">EventResize</a></td><td>* e 事件 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>被 <a class="el" href="class_sky_engine2d_1_1_list_widget.html#a50a78800a5d74189764f07d11021d8c4">SkyEngine2d::ListWidget</a>, <a class="el" href="class_sky_engine2d_1_1_line_edit.html#add494cc0c3024a5a1f7d5f911a79307e">SkyEngine2d::LineEdit</a>, <a class="el" href="class_sky_engine2d_1_1_progress_bar.html#a8924700bf980e9e12ef5168bcd054455">SkyEngine2d::ProgressBar</a>, <a class="el" href="class_sky_engine2d_1_1_label.html#a56364e68f44856e3623cab9782be2c11">SkyEngine2d::Label</a>, <a class="el" href="class_sky_engine2d_1_1_push_button.html#ab6034e0b35aea21646b42859b557ef6e">SkyEngine2d::PushButton</a> , 以及 <a class="el" href="class_sky_engine2d_1_1_check_box.html#afa0ab374c3148ea4ec4ff71d4c2d4cf4">SkyEngine2d::CheckBox</a> 重载.</p>

</div>
</div>
<a id="a953399d5b2113241fa0faaa840797149"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a953399d5b2113241fa0faaa840797149">&#9670;&nbsp;</a></span>releaseFocus()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Widget::releaseFocus </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>释放焦点 </p>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a40723acf3ffd1eeacd573fb194d4baa6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40723acf3ffd1eeacd573fb194d4baa6">&#9670;&nbsp;</a></span>resize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Widget::resize </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_size.html">Size</a> &amp;&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>调整控件的尺寸 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_size.html" title="尺寸">Size</a> &amp; size 尺寸 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="aaf88daae177ec518c7bd798245455e62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaf88daae177ec518c7bd798245455e62">&#9670;&nbsp;</a></span>setBackgroundImage() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Widget::setBackgroundImage </td>
          <td>(</td>
          <td class="paramtype">std::unique_ptr&lt; <a class="el" href="class_sky_engine2d_1_1_scale9_image.html">Scale9Image</a> &gt;&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">WidgetState</a>&#160;</td>
          <td class="paramname"><em>state</em> = <code><a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146a960b44c579bc2f6818d2daaf9e4c16f0">WidgetState::Normal</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>将派生类的 shared_ptr 转为 widget 的 shared_ptr </p>
<dl class="section return"><dt>返回</dt><dd>WidgetSharedPtr设置背景图片</dd></dl>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">std::unique_ptr&lt;Scale9Image&gt;</td><td>image 背景图 </td></tr>
    <tr><td class="paramname">WidgetState</td><td>state 对应的窗口状态 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a39c12d9030f738ff621fe46d71eea44a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39c12d9030f738ff621fe46d71eea44a">&#9670;&nbsp;</a></span>setBackgroundImage() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Widget::setBackgroundImage </td>
          <td>(</td>
          <td class="paramtype">const SpriteFrameSharedPtr &amp;&#160;</td>
          <td class="paramname"><em>sprite_frame</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a>&#160;</td>
          <td class="paramname"><em>cap</em> = <code>Rect::Zero</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">WidgetState</a>&#160;</td>
          <td class="paramname"><em>state</em> = <code><a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146a960b44c579bc2f6818d2daaf9e4c16f0">WidgetState::Normal</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置背景图片 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>SpriteFrameSharedPtr &amp; sprite_frame 精灵帧 </td></tr>
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_rect.html" title="矩形">Rect</a></td><td>cap 9宫图的中间区域 参考 <em><a class="el" href="class_sky_engine2d_1_1_scale9_image.html" title="点9图">Scale9Image</a></em> </td></tr>
    <tr><td class="paramname">WidgetState</td><td>state 对应的窗口状态 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a506c1c47211493dca3f35dd0b4b59639"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a506c1c47211493dca3f35dd0b4b59639">&#9670;&nbsp;</a></span>setBackgroundImage() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Widget::setBackgroundImage </td>
          <td>(</td>
          <td class="paramtype">const std::wstring &amp;&#160;</td>
          <td class="paramname"><em>file_name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a>&#160;</td>
          <td class="paramname"><em>cap</em> = <code>Rect::Zero</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">WidgetState</a>&#160;</td>
          <td class="paramname"><em>state</em> = <code><a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146a960b44c579bc2f6818d2daaf9e4c16f0">WidgetState::Normal</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置背景图片 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>std::wstring &amp; file_name 图片的路径 </td></tr>
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_rect.html" title="矩形">Rect</a></td><td>cap 9宫图的中间区域 参考 <em><a class="el" href="class_sky_engine2d_1_1_scale9_image.html" title="点9图">Scale9Image</a></em> </td></tr>
    <tr><td class="paramname">WidgetState</td><td>state 对应的窗口状态 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a439a578f14840fa51abc9203ec945b55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a439a578f14840fa51abc9203ec945b55">&#9670;&nbsp;</a></span>setCamera()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Widget::setCamera </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_camera.html">Camera</a> *&#160;</td>
          <td class="paramname"><em>camera</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置控件的相机 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname"><a class="el" href="class_sky_engine2d_1_1_camera.html" title="相机">Camera</a></td><td>* camera </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>
<dl class="section see"><dt>参见</dt><dd><a class="el" href="class_sky_engine2d_1_1_camera.html" title="相机">Camera</a> * <a class="el" href="class_sky_engine2d_1_1_widget.html#a5a27d37e9e0a9006d5694c10333445ae" title="获取控件的相机">getCamera()const</a> </dd></dl>

</div>
</div>
<a id="a8685eae31ed1f74fa0b746f7c54dea37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8685eae31ed1f74fa0b746f7c54dea37">&#9670;&nbsp;</a></span>setEnabled()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Widget::setEnabled </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>enabled</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置这个widget是否禁用 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">bool</td><td>enabled </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>
<dl class="section see"><dt>参见</dt><dd><a class="el" href="class_sky_engine2d_1_1_widget.html#a10c0bcb0ccd2597c7a9d828d0f654129" title="这个widget是否被禁用">isEnabled()const</a> </dd></dl>

</div>
</div>
<a id="affac80fa3accc83f6abd505982bdeeaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affac80fa3accc83f6abd505982bdeeaa">&#9670;&nbsp;</a></span>setFont()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Widget::setFont </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_font.html">Font</a> &amp;&#160;</td>
          <td class="paramname"><em>font</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">WidgetState</a>&#160;</td>
          <td class="paramname"><em>state</em> = <code><a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146a960b44c579bc2f6818d2daaf9e4c16f0">WidgetState::Normal</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置字体 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_font.html">Font</a> &amp; font 字体 </td></tr>
    <tr><td class="paramname">WidgetState</td><td>state 窗口的状态 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a3aae04aef5f110a693ff2a727a448e58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3aae04aef5f110a693ff2a727a448e58">&#9670;&nbsp;</a></span>setGeometry()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Widget::setGeometry </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a> &amp;&#160;</td>
          <td class="paramname"><em>rect</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置控件的矩形表示 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_rect.html" title="矩形">Rect</a> &amp; rect 矩形 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void 每个控件都是一个矩形，这个矩形区域用来作为展示控件背景、鼠标进出检测等的依据。 这个矩形是由左下角坐标和矩形的宽高两组信息组成的。坐标是相对于父控件的。 </dd></dl>
<dl class="section see"><dt>参见</dt><dd>const <a class="el" href="class_sky_engine2d_1_1_rect.html" title="矩形">Rect</a> &amp; <a class="el" href="class_sky_engine2d_1_1_widget.html#a7158c88817ab1d1e306236e4645a9d1e" title="获取控件的矩形表示">getGeometry()const</a> </dd></dl>

</div>
</div>
<a id="ac4780243ee4a121f775b33c5d9637467"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac4780243ee4a121f775b33c5d9637467">&#9670;&nbsp;</a></span>setPosition()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SkyEngine2d::Widget::setPosition </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_vector2.html">Vector2</a> &amp;&#160;</td>
          <td class="paramname"><em>pos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>设置widget 的位置 等价于 <a class="el" href="class_sky_engine2d_1_1_widget.html#a39ef08b2d3e4d7e9342754f5b9811700" title="移动控件到某个位置（相对于父控件）">move(const Vector2 &amp; pos)</a> </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td><a class="el" href="class_sky_engine2d_1_1_vector2.html" title="2D向量">Vector2</a> &amp; pos </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

<p>实现了 <a class="el" href="class_sky_engine2d_1_1_i_movable_object.html#ac662aebe659e388ea8bbb6cd473267f3">SkyEngine2d::IMovableObject</a>.</p>

</div>
</div>
<a id="aabe39a7b49314a7a0df06d4b1f299221"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabe39a7b49314a7a0df06d4b1f299221">&#9670;&nbsp;</a></span>setTextColor()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Widget::setTextColor </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_sky_engine2d_1_1_color4f.html">Color4f</a> &amp;&#160;</td>
          <td class="paramname"><em>color</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146">WidgetState</a>&#160;</td>
          <td class="paramname"><em>state</em> = <code><a class="el" href="class_sky_engine2d_1_1_widget.html#ae5713a51505d6edff8d7f0821fb30146a960b44c579bc2f6818d2daaf9e4c16f0">WidgetState::Normal</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>设置文字的颜色 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">const</td><td>Color &amp; color </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<a id="a7148e8c78323d674b9429444d452c1c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7148e8c78323d674b9429444d452c1c6">&#9670;&nbsp;</a></span>show()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SkyEngine2d::Widget::show </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>显示 </p>
<dl class="section return"><dt>返回</dt><dd>void </dd></dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="ad413ce1f509a53f03ab4d0a808f3ff93"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad413ce1f509a53f03ab4d0a808f3ff93">&#9670;&nbsp;</a></span>m_geometry</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_sky_engine2d_1_1_rect.html">Rect</a> SkyEngine2d::Widget::m_geometry</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>控件的矩形表示. 相对与父控件 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>C:/code/SkyGameEngine2d/src/ui/<a class="el" href="_widget_8h_source.html">Widget.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
